<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="../include/header.jsp" />
<script type="text/javaScript">
<!--
	/* pagination 페이지 링크 function */
	function listPage(){
		$('#writeForm').attr('action', '<c:url value="/zone/zoneList.do"/>');
		$('#writeForm').submit();
	}
	
	function saveFormPage() {
		$('#writeForm').attr('action', '<c:url value="/zone/zoneSave.do"/>');
		$('#writeForm').submit();
	}
-->
</script>
<!-- contents s -->
<div class="container" id="container">
	<span class="round lt">&nbsp;</span>
	<span class="round rt">&nbsp;</span>
	<span class="round lb">&nbsp;</span>
	<span class="round rb">&nbsp;</span>
	<div class="container_area">
	<form name="writeForm" id="writeForm" action="<c:url value="/zone/zoneWriteForm.do"/>" method="post">
		<input type="hidden" name="scc_ref_key" id="scc_ref_key" value="${resultVO.scc_ref_key}"/>
		<input type="hidden" name="scc_code_key" id="scc_code_key" value="${resultVO.scc_code_key}"/>
		<h2 class="tit_h2">권역관리 등록</h2>
			<jsp:include page="../include/navi.jsp" />
			<div class="table_wrap"><!-- D : table은 div table_wrap 싸고감 -->
				<table summary="권역관리 등록 입니다" class="table_write">
					<caption>권역관리 등록</caption>
					<colgroup> <!-- D : col width로 테이블 넓이 조절 -->
						<col width="20%" />
						<col width="30%" />
						<col width="20%" />
						<col width="30%" />
					</colgroup>
					<tbody>
						<tr>
							<th scope="row"><label for="scc_code_name">권역명</label></th>
							<td class="alL" colspan="3">
								<input type="text" name="scc_code_name" id="scc_code_name" value="${resultVO.scc_code_name}" class="width_80"/>${error_scc_code_name }
							</td>
						</tr>
                    	<tr>
                    		<th scope="row"><label for="scc_zone_aname">담당자명</label></th>
							<td class="alL"><input type="text" name="scc_zone_aname" id="scc_zone_aname" value="${resultVO.scc_zone_aname}" class="width_80"/></td>
                        	<th scope="row"><label for="scc_zone_aemail">이메일</label></th>
							<td class="alL">
	                        	<input type="text" name="scc_zone_aemail" id="scc_zone_aemail" value="${resultVO.scc_zone_aemail}" class="width_80"/>${error_scc_zone_aemail }
							</td>
                    	</tr>
						<tr>
							<th scope="row"><label for="scc_zone_atel1">담당자 전화번호</label></th>
							<td class="alL">
								<input type="text" name="scc_zone_atel1" id="scc_zone_atel1" value="${resultVO.scc_zone_atel1}" title="전화번호 앞자리를 선택하세요" /> -
								<input type="text" name="scc_zone_atel2" id="scc_zone_atel2" value="${resultVO.scc_zone_atel2}" title="전화번호 중간자리를 선택하세요" /> -
								<input type="text" name="scc_zone_atel3" id="scc_zone_atel3" value="${resultVO.scc_zone_atel3}" title="전화번호 마지막자리를 선택하세요" />
							</td>
							<th scope="row"><label for="scc_zone_ahp1">담당자 휴대폰 번호</label></th>
							<td class="alL">
								<input type="text" name="scc_zone_ahp1" id="scc_zone_ahp1" value="${resultVO.scc_zone_ahp1}" title="휴대폰번호 앞자리를 선택하세요" /> -
								<input type="text" name="scc_zone_ahp2" id="scc_zone_ahp2" value="${resultVO.scc_zone_ahp2}" title="휴대폰번호 중간자리를 선택하세요" /> -
								<input type="text" name="scc_zone_ahp3" id="scc_zone_ahp3" value="${resultVO.scc_zone_ahp3}" title="휴대폰번호 마지막자리를 선택하세요" />
								${error_scc_zone_ahp1 }${error_scc_zone_ahp2 }${error_scc_zone_ahp3 }
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="btn_bbs">
				<a href="<c:url value="/zone/zoneList.do"/>" onclick="listPage();return false;" class="btn_wh">목록</a>
				<a href="<c:url value="/zone/zoneSave.do"/>" onclick="saveFormPage();return false;" class="btn_re">저장</a>
			</div>
			<input type="hidden" name="pageIndex" id="pageIndex" value="${resultVO.pageIndex }"/>
		</form>
	</div><!--//container_area-->
</div>
<!-- contents e -->
<jsp:include page="../include/footer.jsp" />
